<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
    
     <link rel="stylesheet" href="static/plugins/jquerymobile/jquery.mobile-1.3.2.min.css">
    <script src="static/plugins/jquery/jquery-1.8.3.min.js"></script>
    <script src="static/plugins/jquerymobile/jquery.mobile-1.3.2.min.js"></script>
    <script>
        function sure() {
            console.log('disable');
            console.log($('#userForm').serialize());
            $.post('tenement.action?getPwd&'+$('#userForm').serialize(),{},function(result){
                alert(result.msg);
            },'json');
        }
    </script>
</head>
<body>

<div data-role="page">
    <div data-role="header">
        <h1>找回密码</h1>
    </div>

    <div data-role="content">
        <form method="post" id="userForm">
            <label for="udid">UDID码：</label>
            <input type="text" name="udid" id="udid">
            <label for="telephone">电话：</label>
            <input type="text" name="telephone" id="telephone">
            <label for="email">邮箱地址：</label>
            <input type="email" name="email" id="email" />
        </form>
        <a href="#" data-role="button" onclick="sure()">确定</a>
    </div>
</div>

</body>
</html>
